<?php

namespace app\admin\controller;


use app\admin\model\Customized;

/**
 * 订单
 * Class Home
 * @package app\admin\controller
 */
class Orders extends Base
{

    //私人定制列表（私人定制表单提交）
    public function customizedList(){
        $Customized = new Customized();
        $keyword = input("keyword/s");
        if(input("?table")) {
            $result["code"] = 0;
            $result["data"] = $Customized->customizedList($keyword);
            $result["count"] = $Customized->customizedListCount($keyword);
        }
        return !empty($result) ? json($result) : view('customizedList',[
            'title'                 =>  '私人定制列表',
        ]);
    }

}